<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="{{ url_for('result') }}" method="get">
<input type="text" name="query">
    <input type="submit" name="submit">
</form>
</body>
</html>